package top.cardone.data.func;

import top.cardone.core.util.func.Func0;
import top.cardone.core.util.func.Func1;

import java.util.Date;
import java.util.Map;

/**
 * Created by yht on 16-3-28.
 */
public class ReadDateFunc implements Func0<Date>, Func1<Date, Map<String, Object>> {
	@Override
	public Date func() {
		return new Date();
	}

	@Override
	public Date func(Map<String, Object> stringObjectMap) {
		return this.func();
	}
}